package com.zpp.wedding_admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 朱盼盼
 * @since 2022-12-29
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Camerist对象", description="")
public class Camerist implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "摄影师id")
    @TableId(value = "camerist_id", type = IdType.AUTO)
    private Integer cameristId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "姓名")
    private String cameristName;

    @ApiModelProperty(value = "摄影师性别")
    private String gender;

    @ApiModelProperty(value = "摄影师年龄")
    private Integer age;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "摄影师的头像")
    private String avatar;

    @ApiModelProperty(value = "联系邮箱")
    private String email;

    @ApiModelProperty(value = "摄影师简介")
    private String introduce;

    @ApiModelProperty(value = "好评数量")
    private Integer goodComment;

    @ApiModelProperty(value = "差评数量")
    private Integer badComment;

    @ApiModelProperty(value = "作品数量")
    private Integer workNumber;

    @ApiModelProperty(value = "摄影师等级")
    private Integer level;

    @ApiModelProperty(value = "是否通过申请")
    private Integer isPass;

    @ApiModelProperty(value = "原因")
    private String reason;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;

    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private String likeSort;
    @TableField(exist = false)
    private Integer likeSortNum;
    @TableField(exist = false)
    private String workSort;
    @TableField(exist = false)
    private Integer workSortNum;
    @TableField(exist = false)
    private String levelSort;
    @TableField(exist = false)
    private Integer levelSortNum;
    @TableField(exist = false)
    private String ageSort;
    @TableField(exist = false)
    private String ageSortNum;
}
